import request from "./request";

export function getVirusStatistic (query) {
  return request({
    url: '/single/statistic/virus',
    method: 'get',
    params: query
  })
}

export function getHostStatistic (query) {
  return request({
    url: '/single/statistic/host',
    method: 'get',
    params: query
  })
}

// 获取所有病毒种
export function getAllSpecies(query) {
  return request({
    url: '/single/statistic/species',
    method: 'get',
    params: query
  })
}

// 获取所有病毒种
export function getOverview(query) {
  return request({
    url: '/single/statistic/getOverview',
    method: 'get',
    params: query
  })
}

// 获取所有病毒种
export function hostStack(query) {
  return request({
    url: '/single/statistic/hostStack',
    method: 'get',
    params: query
  })
}

// 获取所有病毒种
export function getLengthDistr(query) {
  return request({
    url: '/single/statistic/getLengthDistr',
    method: 'get',
    params: query
  })
}

